<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<%@ include file="/common/import.jsp"%>
<script>
	var thsTitle = "标的缓存比较";
	function reloadThis(){
		window.location.reload(true);
	}
</script>
</head>
<body>
	<center><a class="easyui-linkbutton" id="editButton" iconCls="icon-reload" onclick="reloadThis()">刷新缓存</a></center> 
	<!-- 正文开始 -->
<div class="easyui-tabs">
	<div title="标的信息">
		<table class="info" id="compareItemTable" cellspacing="1"
		cellpadding="0">
			<tr>
				<th>比较内容</th>
				<th>数据库</th>
				<th>缓存内容</th>
				<th>比较结果</th>
			</tr>
			<tr>
				<th style="width:220px;">是否允许报起始价</th>
				<td>${bidItem.allowFirstValue}</td>
				<td>${itemCache.allowFirstValue}</td>
				<td>${bidItem.allowFirstValue == itemCache.allowFirstValue?
					"OK" : "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的名称</th>
				<td>${bidItem.itemName}</td>
				<td>${itemCache.itemName}</td>
				<td>${bidItem.itemName == itemCache.itemName? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的编号</th>
				<td>${bidItem.itemNo}</td>
				<td>${itemCache.itemNo}</td>
				<td>${bidItem.itemNo == itemCache.itemNo? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的类型</th>
				<td>${bidItem.itemType}</td>
				<td>${itemCache.itemType}</td>
				<td>${bidItem.itemType == itemCache.itemType? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的状态</th>
				<td>${bidItem.itemStatus}</td>
				<td>${itemCache.itemStatus}</td>
				<td>${bidItem.itemStatus == itemCache.itemStatus? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否按单价报价</th>
				<td>${bidItem.priceFlag}</td>
				<td>${itemCache.priceFlag}</td>
				<td>${bidItem.priceFlag == itemCache.priceFlag? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的数量</th>
				<td>${bidItem.itemNum}</td>
				<td>${itemCache.itemNum}</td>
				<td>${bidItem.itemNum == itemCache.itemNum? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>数量单位</th>
				<td>${bidItem.itemUnitName}</td>
				<td>${itemCache.itemUnitName}</td>
				<td>${bidItem.itemUnitName == itemCache.itemUnitName? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>起始价格</th>
				<td>${bidItem.firstValuePre}</td>
				<td>${itemCache.firstValuePre}</td>
				<td>${bidItem.firstValuePre == itemCache.firstValuePre? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>价格区间加价幅度</th>
				<td>${bidItem.incrementGroup}</td>
				<td>${itemCache.incrementGroup}</td>
				<td>${bidItem.incrementGroup == itemCache.incrementGroup? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>区间内加价幅度</th>
				<td>${bidItem.incrementValue}</td>
				<td>${itemCache.incrementValue}</td>
				<td>${bidItem.incrementValue == itemCache.incrementValue? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的分组</th>
				<td>${bidItem.groupName}</td>
				<td>${itemCache.groupName}</td>
				<td>${bidItem.groupName == itemCache.groupName? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>分组id</th>
				<td>${bidItem.groupId}</td>
				<td>${itemCache.groupId}</td>
				<td>${bidItem.groupId == itemCache.groupId? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>活动Id</th>
				<td>${bidItem.sessionId}</td>
				<td>${itemCache.sessionId}</td>
				<td>${bidItem.sessionId == itemCache.sessionId? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>活动类型</th>
				<td>${bidItem.sessionType}</td>
				<td>${itemCache.sessionType}</td>
				<td>${bidItem.sessionType == itemCache.sessionType? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>活动名称</th>
				<td>${bidItem.sessionName}</td>
				<td>${itemCache.sessionName}</td>
				<td>${bidItem.sessionName == itemCache.sessionName? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>竞价方式</th>
				<td>${bidItem.bidMode}</td>
				<td>${itemCache.bidMode}</td>
				<td>${bidItem.bidMode == itemCache.bidMode? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否动态报价</th>
				<td>${bidItem.ifBidDyn}</td>
				<td>${itemCache.ifBidDyn}</td>
				<td>${bidItem.ifBidDyn == itemCache.ifBidDyn? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			
			<tr>
				<th>一口价</th>
				<td>${bidItem.oncevalue}</td>
				<td>${itemCache.oncevalue}</td>
				<td>${bidItem.oncevalue == itemCache.oncevalue? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>保留价</th>
				<td>${bidItem.holdvalue}</td>
				<td>${itemCache.holdvalue}</td>
				<td>${bidItem.holdvalue == itemCache.holdvalue? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>小数位(缺省2)</th>
				<td>${bidItem.decimalCount}</td>
				<td>${itemCache.decimalCount}</td>
				<td>${bidItem.decimalCount == itemCache.decimalCount? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>币种</th>
				<td>${bidItem.currency}</td>
				<td>${itemCache.currency}</td>
				<td>${bidItem.currency == itemCache.currency? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>货币单位</th>
				<td>${bidItem.priceUnit}</td>
				<td>${itemCache.priceUnit}</td>
				<td>${bidItem.priceUnit == itemCache.priceUnit? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>应交保证金金额</th>
				<td>${bidItem.bailPrice}</td>
				<td>${itemCache.bailPrice}</td>
				<td>${bidItem.bailPrice == itemCache.bailPrice? "OK"
					: "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>标的创建时间</th>
				<td>${bidItem.createTime}</td>
				<td>${itemCache.createTime}</td>
				<td>${bidItem.createTime == itemCache.createTime? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>审核通过时间</th>
				<td>${bidItem.auditTime}</td>
				<td>${itemCache.auditTime}</td>
				<td>${bidItem.auditTime == itemCache.auditTime? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			
			<tr>
				<th>组织方标识</th>
				<td>${bidItem.orgEname}</td>
				<td>${itemCache.orgEname}</td>
				<td>${bidItem.orgEname == itemCache.orgEname? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>组织方名称</th>
				<td>${bidItem.orgCname}</td>
				<td>${itemCache.orgCname}</td>
				<td>${bidItem.orgCname == itemCache.orgCname? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否V型</th>
				<td>${bidItem.vFlag}</td>
				<td>${itemCache.vFlag}</td>
				<td>${bidItem.vFlag == itemCache.vFlag? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
		</table>
	</div>
	<div title="竞价时间">
		<table class="info" id="compareItemTable" cellspacing="1"
		cellpadding="0">
			<tr>
				<th>比较内容</th>
				<th>数据库</th>
				<th>缓存内容</th>
				<th>比较结果</th>
			</tr>
			<tr>
				<th style="width:220px;">竞价开始时间（初始值）</th>
				<td>${bidItem.openTimePre}</td>
				<td>${itemCache.openTimePre}</td>
				<td>${bidItem.openTimePre == itemCache.openTimePre? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>限时开始时间（初始值）</th>
				<td>${bidItem.firstBidTimePre}</td>
				<td>${itemCache.firstBidTimePre}</td>
				<td>${bidItem.firstBidTimePre == itemCache.firstBidTimePre?
					"OK" : "<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>限时报价周期（初始值）</th>
				<td>${bidItem.limitTime}</td>
				<td>${itemCache.limitTime}</td>
				<td>${bidItem.limitTime == itemCache.limitTime? "OK" : "<font
					color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>竞价结束时间（初始值）</th>
				<td>${bidItem.closeTimePre}</td>
				<td>${itemCache.closeTimePre}</td>
				<td></td>
			</tr>
			<tr>
			<td colspan="4"><hr/></td>
			</tr>
		<tr>
				<th>竞价开始时间</th>
				<td>${bidItemPrice.openTime}</td>
				<td>${itemPriceCache.openTime}</td>
				<td>-</td>
			</tr>
			<tr>
				<th>限时开始时间</th>
				<td>${bidItemPrice.firstBidTime}</td>
				<td>${itemPriceCache.firstBidTime}</td>
				<td>-</td>
			</tr>
			<tr>
				<th>结束时间</th>
				<td>${bidItemPrice.closeTime}</td>
				<td>${itemPriceCache.closeTime}</td>
				<td>-</td>
			</tr>
	</table>
	</div>
	<div title="延牌信息">
		<table class="info" id="compareItemTable" cellspacing="1"
		cellpadding="0">
		<tr>
				<th>比较内容</th>
				<th>数据库</th>
				<th>缓存内容</th>
				<th>比较结果</th>
			</tr>
		<tr>
				<th style="width:220px;">是否延牌</th>
				<td>${bidItem.delayControl}</td>
				<td>${itemCache.delayControl}</td>
				<td>${bidItem.delayControl == itemCache.delayControl? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>延牌周期单位</th>
				<td>${bidItem.delayUnit}</td>
				<td>${itemCache.delayUnit}</td>
				<td>${bidItem.delayUnit == itemCache.delayUnit? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>延牌周期</th>
				<td>${bidItem.delayPeriod}</td>
				<td>${itemCache.delayPeriod}</td>
				<td>${bidItem.delayPeriod == itemCache.delayPeriod? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
            <tr>
				<th>延牌最终日期</th>
				<td>${bidItem.delayDeadTime}</td>
				<td>${itemCache.delayDeadTime}</td>
				<td>${bidItem.delayDeadTime == itemCache.delayDeadTime? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			 <tr>
				<th>最长延牌周期数</th>
				<td>${bidItem.delayPeriodMax}</td>
				<td>${itemCache.delayPeriodMax}</td>
				<td>${bidItem.delayPeriodMax == itemCache.delayPeriodMax? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否停止延牌</th>
				<td>${bidItemPrice.delayEndFlag}</td>
				<td>${itemPriceCache.delayEndFlag}</td>
				<td>-</td>
			</tr>
			<tr>
				<th>累计延牌次数</th>
				<td>${bidItemPrice.delayTimes}</td>
				<td>${itemPriceCache.delayTimes}</td>
				<td>-</td>
			</tr>
		</table>
	</div>
	<div title="行权信息">
		<table class="info" id="compareItemTable" cellspacing="1"
		cellpadding="0">
			<tr>
				<th>比较内容</th>
				<th>数据库</th>
				<th>缓存内容</th>
				<th>比较结果</th>
			</tr>
			<tr>
				<th style="width:220px;">事后加价的时间(分钟)</th>
				<td>${bidItem.allowAddTime}</td>
				<td>${itemCache.allowAddTime}</td>
				<td>${bidItem.allowAddTime == itemCache.allowAddTime? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>股东行权时间(分钟)</th>
				<td>${bidItem.allowPrioTime}</td>
				<td>${itemCache.allowPrioTime}</td>
				<td>${bidItem.allowPrioTime == itemCache.allowPrioTime? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否允许过程行权（T/F）</th>
				<td>${bidItem.ifRight}</td>
				<td>${itemCache.ifRight}</td>
				<td>${bidItem.ifRight == itemCache.ifRight? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否允许事后行权</th>
				<td>${bidItem.allowEndPrio}</td>
				<td>${itemCache.allowEndPrio}</td>
				<td>${bidItem.allowEndPrio == itemCache.allowEndPrio? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>	
				<th>事后行权方式</th>
				<td>${bidItem.allowHallPrio}</td>
				<td>${itemCache.allowHallPrio}</td>
				<td>${bidItem.allowHallPrio == itemCache.allowHallPrio? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>事后是否允许最高报价人追加报价</th>
				<td>${bidItem.allowAdd}</td>
				<td>${itemCache.allowAdd}</td>
				<td>${bidItem.allowAdd == itemCache.allowAdd? "OK" :
					"<font color='red'> Wrong! </font>"}</td>
			</tr>
			<tr>
				<th>是否已加价</th>
				<td>${bidItemPrice.ifAddPrice}</td>
				<td>${itemPriceCache.ifAddPrice}</td>
				<td>-</td>
			</tr>
			<tr>
				<th>是否已经行驶优先权</th>
				<td>${bidItemPrice.ifPrioFlag}</td>
				<td>${itemPriceCache.ifPrioFlag}</td>
				<td>-</td>
			</tr>
		</table>
	</div>
	<div title="pub信息">
	<table class="info" id="compareItemTable" cellspacing="1"
		cellpadding="0">
		<tr>
			<th>比较内容</th>
			<th>数据库</th>
			<th>缓存内容</th>
			<th>比较结果</th>
		</tr>
		<tr>
			<th>pub_id</th>
			<td>${bidPub.pubId}</td>
			<td>${pubCache.pubId}</td>
			<td>${bidPub.pubId == pubCache.pubId? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>pub中的item_id</th>
			<td>${bidPub.itemId}</td>
			<td>${pubCache.itemId}</td>
			<td>${bidPub.itemId == pubCache.itemId? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金币种(人民币/美元)</th>
			<td>${bidPub.bailCurrency}</td>
			<td>${pubCache.bailCurrency}</td>
			<td>${bidPub.bailCurrency == pubCache.bailCurrency? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金货币单位(万元/元)</th>
			<td>${bidPub.bailPriceUnit}</td>
			<td>${pubCache.bailPriceUnit}</td>
			<td>${bidPub.bailPriceUnit == pubCache.bailPriceUnit? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金缴纳起始日期</th>
			<td>${bidPub.bailTimeStart}</td>
			<td>${pubCache.bailTimeStart}</td>
			<td>${bidPub.bailTimeStart == pubCache.bailTimeStart? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金缴纳截止日期</th>
			<td>${bidPub.bailTimeEnd}</td>
			<td>${pubCache.bailTimeEnd}</td>
			<td>${bidPub.bailTimeEnd == pubCache.bailTimeEnd? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金支付方式[0在线支付<br/>/1支票/2银行转账/3现金/4其他]</th>
			<td>${bidPub.bailPayMode}</td>
			<td>${pubCache.bailPayMode}</td>
			<td>${bidPub.bailPayMode == pubCache.bailPayMode? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>保证金支付方式说明</th>
			<td>${bidPub.bailPayModeDesc}</td>
			<td>${pubCache.bailPayModeDesc}</td>
			<td>${bidPub.bailPayModeDesc == pubCache.bailPayModeDesc? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>联系人</th>
			<td>${bidPub.chargeName}</td>
			<td>${pubCache.chargeName}</td>
			<td>${bidPub.chargeName == pubCache.chargeName? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>联系人部门名称</th>
			<td>${bidPub.deptName}</td>
			<td>${pubCache.deptName}</td>
			<td>${bidPub.deptName == pubCache.deptName? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>邮箱</th>
			<td>${bidPub.email}</td>
			<td>${pubCache.email}</td>
			<td>${bidPub.email == pubCache.email? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>电话</th>
			<td>${bidPub.tel}</td>
			<td>${pubCache.tel}</td>
			<td>${bidPub.tel == pubCache.tel? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>转让方名称</th>
			<td>${bidPub.sellerName}</td>
			<td>${pubCache.sellerName}</td>
			<td>${bidPub.sellerName == pubCache.sellerName? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>地址</th>
			<td>${bidPub.address}</td>
			<td>${pubCache.address}</td>
			<td>${bidPub.address == pubCache.address? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>佣金服务费比例</th>
			<td>${bidPub.feeRate}</td>
			<td>${pubCache.feeRate}</td>
			<td>${bidPub.feeRate == pubCache.feeRate? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>佣金服务费金额</th>
			<td>${bidPub.feeFix}</td>
			<td>${pubCache.feeFix}</td>
			<td>${bidPub.feeFix == pubCache.feeFix? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>佣金分档金额</th>
			<td>${bidPub.feeGroup}</td>
			<td>${pubCache.feeGroup}</td>
			<td>${bidPub.feeGroup == pubCache.feeGroup? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>佣金分档比例</th>
			<td>${bidPub.feeValue}</td>
			<td>${pubCache.feeValue}</td>
			<td>${bidPub.feeValue == pubCache.feeValue? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>最小佣金</th>
			<td>${bidPub.feeValueMin}</td>
			<td>${pubCache.feeValueMin}</td>
			<td>${bidPub.feeValueMin == pubCache.feeValueMin? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		<tr>
			<th>最大佣金</th>
			<td>${bidPub.feeValueMax}</td>
			<td>${pubCache.feeValueMax}</td>
			<td>${bidPub.feeValueMax == pubCache.feeValueMax? "OK" :
				"<font color='red'> Wrong! </font>"}</td>
		</tr>
		</table>
	</div>
</div>	

<center><a class="easyui-linkbutton" id="editButton" iconCls="icon-reload" onclick="reloadThis()">刷新缓存</a></center>
	
	<!-- 正文结束 -->
	<%
		//@ include file="/common/top.jsp"
	%>
</body>
</html>